import upload from '@/utils/upload'
import request from '@/utils/request'


// 用户头像上传
export function uploadImg(data) {
  return upload({
    url: '/common/upload',
    name: data.name,
    filePath: data.filePath
  })
}